package br.rc.unesp.tcc.model.bean;

import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "mark")
public class Mark {
	private int markId;
	private double mark;
	private Date date;
	private int studentId;
	private int subjectId;
	
	public Mark() {
	}

	/**
	 * @param markId
	 * @param mark
	 * @param date
	 * @param studentId
	 * @param subjectId
	 */
	public Mark(int markId, double mark, Date date, int studentId, int subjectId) {
		super();
		this.markId = markId;
		this.mark = mark;
		this.date = date;
		this.studentId = studentId;
		this.subjectId = subjectId;
	}

	/**
	 * @return the markId
	 */
	public int getMarkId() {
		return markId;
	}

	/**
	 * @param markId the markId to set
	 */
	public void setMarkId(int markId) {
		this.markId = markId;
	}

	/**
	 * @return the mark
	 */
	public double getMark() {
		return mark;
	}

	/**
	 * @param mark the mark to set
	 */
	public void setMark(double mark) {
		this.mark = mark;
	}

	/**
	 * @return the date
	 */
	public Date getDate() {
		return date;
	}

	/**
	 * @param date the date to set
	 */
	public void setDate(Date date) {
		this.date = date;
	}

	/**
	 * @return the studentId
	 */
	public int getStudentId() {
		return studentId;
	}

	/**
	 * @param studentId the studentId to set
	 */
	public void setStudentId(int studentId) {
		this.studentId = studentId;
	}

	/**
	 * @return the subjectId
	 */
	public int getSubjectId() {
		return subjectId;
	}

	/**
	 * @param subjectId the subjectId to set
	 */
	public void setSubjectId(int subjectId) {
		this.subjectId = subjectId;
	}
}